]> dgit.raspbian.org Git - gnome-shell.git/commit
remoteSearch: support serialized GIcons
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 24 Apr 2013 16:05:22 +0000 (12:05 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 24 Apr 2013 19:54:31 +0000 (15:54 -0400)
commit17df668186ea887f0004ffeb7a72e7126026b36b
tree3c80fc88614f7cd91ac5a5efe0119a7df5f7d712
parentaef70152de8a2a7b5a8b558514566a7f6cd3746b
remoteSearch: support serialized GIcons

Since [1], GIO supports generic serialization and deserialization of a
GIcon into a GVariant. This is also implemented by GdkPixbuf and could be
used instead of our homegrown code for it.

This commit adds support to another 'icon' key in the metas dictionary
returned by applications for it. The previous 'gicon' and 'icon-data'
keys are still parsed and supported as before, but are now deprecated.

[1]
https://git.gnome.org/browse/glib/commit/?id=c16f914b40c749b938490a4e10a3c54ec1855c42

https://bugzilla.gnome.org/show_bug.cgi?id=698761
configure.ac
data/org.gnome.ShellSearchProvider2.xml
js/ui/remoteSearch.js